package com.heima.model.common.dtos.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel
@Data
public class TaskDto implements Serializable {

    /**
     * 任务id
     */
    @ApiModelProperty("任务id")
    private Long taskId;
    /**
     * 类型
     */
    @ApiModelProperty("类型")
    private Integer taskType;

    /**
     * 优先级
     */
    @ApiModelProperty("优先级")
    private Integer priority;

    /**
     * 执行id
     */
    @ApiModelProperty("执行id")
    private long executeTime;

    /**
     * task参数
     */
    @ApiModelProperty("task参数")
    private byte[] parameters;

}